const fields = [
  {
    dataIndex: 'index',
    key: 'index',
    title: '序号',
    width: 80,
    scopedSlots: {
      customRender: 'subscript'
    }
  },
  {
    dataIndex: 'cityTilte',
    key: 'cityTilte',
    title: '数据历史',
    width: 300
  },
  {
    dataIndex: 'createTime',
    key: 'createTime',
    title: '发布时间',
  },
  {
    title: '操作',
    key: 'action',
    fixed: 'right',
    scopedSlots: {
      customRender: 'action'
    }
  }
]

const slotOpt = [
  {
    slot: 'action',
    component: 'Action',
    list: [
      { name: '查看', cb: 'toDetail' },
    ]
  }
]

module.exports = {
  fields,
  slotOpt
}
